-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Invoke etelemetry when constructing a DandiAPIClient; honor DANDI_NO_ET #728
Conversation
Codecov Report
@@ Coverage Diff @@
## master #728 +/- ##
==========================================
+ Coverage 84.02% 84.14% +0.12%
==========================================
Files 59 59
Lines 5664 5703 +39
==========================================
+ Hits 4759 4799 +40
+ Misses 905 904 -1
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
dandi/cli/command.py
Outdated
"Failed to check for a more recent version available with etelemetry: %s", | ||
exc, | ||
) | ||
check_dandi_version() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think indentation is wrong and it falls under if pdb:
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yeap, import makes it obvious... shouldn't be just in pdb mode
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed.
Thank you @jwodder -- let's proceed and see where it brings us |
Closes #726.